//负责集合user的数据模型schema
const mongoose = require('mongoose');


const studentSchema = new mongoose.Schema({
    avatar:String,
    gender:String,
    name: String,
    password: String,
    phone: String
});

mongoose.model('studentsModel', studentSchema, 'students');

//暴露集合模型名称
module.exports.studentsModel = 'studentsModel';